package my.suveng.oauth2.vender.NetEase.email;

import my.suveng.model.common.interfaces.response.IMessage;

import java.util.concurrent.Future;

public interface IEmailService {

    /**
     * 发送邮件
     *
     * @author suwenguang
     */
    IMessage<Object> send(String address, String subject, String content);

    /**
     * 异步发送邮件
     *
     * @author suwenguang
     */
    Future<IMessage<Object>> sendAsync(String address, String subject, String content);
}
